package com.android.camera.processing.imagebackend;

import com.android.camera.app.OrientationManager;
import com.android.camera.app.OrientationManager.DeviceOrientation;
import com.android.camera.one.v2.IReprocessExcutor;
import com.android.camera.one.v2.camera2proxy.ImageProxy;
import com.android.camera.one.v2.camera2proxy.TotalCaptureResultProxy;
import com.android.camera.one.v2.core.FrameServer;
import com.android.camera.one.v2.core.RequestBuilder;
import com.google.common.util.concurrent.ListenableFuture;

import android.graphics.Rect;

public class ImageToReprocess extends ImageToProcess {
	
	public interface ReprocessReqeustCallback {
		public void onReprocessBegin();
		public void onReprocessRequest(RequestBuilder nRequestBuilder);
		public void onReprocessEnd(boolean success);
	}
	
	public FrameServer   mFrameServer;
	public IReprocessExcutor mReprocessExcutor;
	public ReprocessReqeustCallback mReqeustCallback;

	public ImageToReprocess(ImageProxy proxy, OrientationManager.DeviceOrientation imageRotation,
                          ListenableFuture<TotalCaptureResultProxy> metadata, Rect crop) {
		super(proxy, imageRotation, metadata, crop);
	}
	
	public ImageToReprocess(ImageProxy proxy, DeviceOrientation imageRotation,
			ListenableFuture<TotalCaptureResultProxy> metadata) {
		super(proxy, imageRotation, metadata);
	}
}
